/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package pushy.server;

/**
 *
 * @author Dörte
 */
public class Ziel extends BetretbaresObjekt {

    public Ziel(int[] koordinaten, Level level) {
        super(koordinaten, level);
        id = 5;
        name = "ziel";
    }
    
    @Override
    public void setFarbe(String farbe) {
        super.setFarbe(farbe);
        if(farbe.equals("gelb")) id = 6;
    }
    
}
